package com.nineclock.message.service;

import com.nineclock.messafe.dto.NcMessageDTO;
import com.nineclock.messafe.pojo.NcMessage;

import java.util.List;

public interface MessageService {
    /**
     * 根据用户别名推送消息
     * @param message
     * @return
     */
    public Boolean pushSingleMessage(NcMessage message) throws Exception;

    List<NcMessage> findMessageRecord(NcMessageDTO messageDTO);

    void updateMessageWithApproved(String messageId);
}
